package com.gla.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EvaluationMapper {
    @Select("SELECT COUNT(*) FROM (SELECT * FROM EVALUATION WHERE point = #{point} AND shop_id = #{shopid}) AS a")
    int selectEvaluationByPoint(Integer point, Integer shopid);
}
